package cn.lwj.webService.entity;


import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class DataJzbView {

    public static final String JDFK = "jdfk";

    public static final String YQXK = "yqxk";

    public static final String YQSQ = "yqsq";

    public static final String SHBL = "shbl";

	/**
	 * XML数据模型别名定义
	 */
	public final static Map<String,Class> aliasInfo = new HashMap() {{
        put("dataView", DataJzbView.class);
		put("yqxksp", TxfYqxksp.class);
        put("jdfk", TXfRdJdfk.class);
		//put("yqxkAjxx", TxfYqxkAjxx.class);
        put("yqsq", TxfRdjzbYqsq.class);
		put("shxx", TXfShxx.class);
	}};

	/**
	 * 定义数据类型
	 */
	public final static Map<String,Class<?>> dataType = new HashMap() {{
        //put("yqxkAjxx", TxfYqxkAjxx.class);
        put("yqxksp", TxfYqxksp.class);
        put("yqsq", TxfRdjzbYqsq.class);
        put("shxx", TXfShxx.class);
        put("jdfkList", TXfRdJdfk.class);
	}};
	

	/**
	 * 定义数据获取方式
	 */
	public final static Map<String,Object> dataSql = new HashMap() {{
        //put("yqxkAjxx", " C_JZB_ID='@JZBID' @CONDITION");//
		put("yqxksp"," C_ID =(SELECT C_YQXK_ID FROM t_xf_yqxk_ajxx  WHERE N_ZBBZ=1 AND C_JZB_ID='@JZBID')@CONDITION ");
		put("yqsq"," C_JZB_ID='@JZBID' @CONDITION");
		put("shxx"," C_JZB_ID='@JZBID' @CONDITION");
		put("jdfkList"," C_JZB_ID='@JZBID' ");
	}};


    private String ywlx;
    //延期许可审批
    private TxfYqxksp yqxksp;
    private TxfRdjzbYqsq yqsq;
    private TXfShxx shxx;
    private List<TXfRdJdfk> jdfkList;
    //private TxfYqxkAjxx yqxkAjxx;


    public TxfYqxksp getYqxksp() {
        return yqxksp;
    }

    public void setYqxksp(TxfYqxksp yqxksp) {
        this.yqxksp = yqxksp;
    }

    public TxfRdjzbYqsq getYqsq() {
        return yqsq;
    }

    public void setYqsq(TxfRdjzbYqsq yqsq) {
        this.yqsq = yqsq;
    }

    public TXfShxx getShxx() {
        return shxx;
    }

    public void setShxx(TXfShxx shxx) {
        this.shxx = shxx;
    }

    public List<TXfRdJdfk> getJdfkList() {
        return jdfkList;
    }

    public void setJdfkList(List<TXfRdJdfk> jdfkList) {
        this.jdfkList = jdfkList;
    }

    public String getYwlx() {
        return ywlx;
    }

    public void setYwlx(String ywlx) {
        this.ywlx = ywlx;
    }

    /*public TxfYqxkAjxx getYqxkAjxx() {
        return yqxkAjxx;
    }

    public void setYqxkAjxx(TxfYqxkAjxx yqxkAjxx) {
        this.yqxkAjxx = yqxkAjxx;
    }*/
}
